package com.lyj.service.impl;

import com.lyj.mapper.EchartsDataMapper;
import com.lyj.pojo.DeptInfo;
import com.lyj.pojo.EducationInfo;
import com.lyj.service.EchartsDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EchartsDataServiceImpl implements EchartsDataService {
    @Autowired
    private EchartsDataMapper echartsDataMapper;

    @Override
    public List<EducationInfo> getEducationInfo() {
        return echartsDataMapper.getEducationInfo();
    }

    @Override
    public List<DeptInfo> getDeptInfo() {

        return echartsDataMapper.getDeptInfo();
    }
}
